package beans.taskprocess;

/**
 * <p>
 * This is the abstract representation of a task to do.
 * </p>
 * <p>
 * The basic idea is: I need a task to do in background, then I must implement this interface and add an instance of this to
 * TaskManager, using the method addTask.
 * </p>
 * 
 * @author Razzek
 * @since 1.0
 * @see TaskManager
 * @see TaskManager#addTask(Task task )
 * 
 */
public interface Task
{
	/**
	 * The body of the task
	 * 
	 * @throws RuntimeException
	 *             If you can't delivery with the problem.
	 */
	void toDo();
}
